
body{
    font-size: 14px;
    font-family: "宋体";
    min-width: 320px;
    max-width: 1200px;/* 移动端可不设 */
    margin: 0 auto;/* 移动不设 */
    margin-bottom: 120px; /* Adjusted for both headers */
}
.icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
}
* {
    padding: 0;
    margin: 0;
}

ul {
    list-style: none;
    color: #000;
}
a {
    text-decoration: none;
    color: #000;
}
/* 上导航 */
.wang_header {
    position: relative; /* Changed to relative to contain both headers */
    width: 100%;
}
.wang_header1 {
    display: flex;
    justify-content: space-around;
    font-size: 30px;
    width: 100%;
    position: fixed;
    top: 0; /* Top of the viewport */
    background-color: rgb(200, 218, 244);
    z-index: 10;
}
.wang_header2 {
    display: flex;
    justify-content: space-around;
    font-size: 22px; /* Slightly smaller than .header for hierarchy */
    width: 100%;
    position: fixed;
    top: 33px; /* Right below .header */
    background-color: rgb(200, 218, 244); 
    z-index: 9; /* Slightly lower z-index than .header */
}
.wang_header2 li {
    margin: 0 10px; /* Added margin for spacing */
}
.wang_header2 a {
    padding: 10px 0; /* Added padding for better tap area */
}
/* 下导航 */
.wang_nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #eee;
    z-index: 8; /* Lower z-index than headers */
}
.wang_nav ul {
    display: flex;
}
.wang_nav li {
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center; /* Center vertically */
}
.wang_nav svg {
    font-size: 36px;
    margin-top: 0; /* Removed margin-top as it's centered vertically now */
}
.wang_nav p {
    font-size: 14px;
    margin-left: 6px;
}
.active-nav {
font-weight: bold;
font-size: 26px; /* 或者你想要的任何更大的字体大小 */
}

.wang_main {
    display: flex;
    flex-direction: column;
    align-items: center;
    }
    
    .carousel-container {
    margin-bottom: 0px;
    }
    
    .wang_pic {
    margin-top: 1px;
    }
/* json解析 */
.wang_list {
list-style-type: none; /* 移除默认的列表样式 */
padding: 0;
margin: 0;
display: flex;
flex-wrap: wrap; /* 允许列表项换行 */
}
.wang_list li {
display: flex;
flex-direction: column;
align-items: center;
margin: 10px;
width: calc(50% - 20px); /* 每个列表项占据50%的宽度，减去左右margin */
box-sizing: border-box; /* 确保padding和border不会增加额外宽度 */
}
.wang_list li img {
max-width: 100%; /* 确保图片不会超出列表项的宽度 */
height: auto; /* 保持图片的纵横比 */
/* 图片四边圆角 */
border-radius: 10px;
}
.wang_list li a {
text-decoration: none; /* 移除链接的下划线 */
color: #000; /* 设置链接的文字颜色 */
}
.wang_list li p {
margin: 5px 0; /* 设置段落上下外边距 */
text-align: center; /* 段落文字居中 */
color: grey; /* 设置段落文字颜色 */
}
/* 上图下文——图片下方*/
.container {
    display: flex;
    flex-wrap: wrap;
}
.item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
    text-align: center;
    margin-top: -20px;
}
.item img {
    width: 75px; /* 根据实际图标大小调整 */
    height: 75px; /* 根据实际图标大小调整 */
    object-fit: contain;
}
.item p {
    margin-top: 5px;
}
/* javascript效果——自动播放图片 */
.swiper {
    width: 100%;
    height: 100%;
  }
  .swiper-slide {
    position: relative;
max-width: 600px;
margin: 20px auto;
overflow: hidden;
border: 2px solid #ddd;
margin-top: 40px;
  }
  .swiper-slide img {
    width: 100%;
    flex-shrink: 0;
  }

/* 头 */
  .title2 {
    display: flex;
    align-items: center;

    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 轻微阴影 */
  }

  .title2 p {
    margin: 0; /* 移除段落默认的外边距 */
    font-size: 18px; /* 字体大小 */
    font-weight: bold; /* 字体加粗 */
  }

  .title2 a {
    text-decoration: none; /* 移除下划线 */
    margin-left: 10px; /* 链接与前面的间距 */
    padding: 5px 10px; /* 链接的内边距 */
    border: 1px solid #ccc; /* 灰色边框 */
    border-radius: 4px; /* 边框圆角 */
    transition: background-color 0.3s, color 0.3s; /* 过渡效果 */
     /* 文字最右边 */
     margin-left: auto;
  }
  .txt{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, .5);
    color: #fff;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}